<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>山东省林业厅</title>
    <meta name="description" content="">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="${ctxStatic}/sdlyfp/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${ctxStatic}/sdlyfp/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/amazeui.min.css" />
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/admin.css">
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/app.css">
    <script src="${ctxStatic}/sdlyfp/js/echarts.min.js"></script>
</head>

<body data-type="index">
    
	<!-- head -->
	<jsp:include page="../basic/head.jsp" flush="false"></jsp:include>

    <div class="tpl-page-container tpl-page-header-fixed">
    
	<!-- 菜单 -->
	<jsp:include page="../basic/menu.jsp" flush="false"></jsp:include>


    <div class="tpl-content-wrapper">
             
            <div class="row"> 
            	
            	<a class="more" href="${ctx }/weixin/self">
                <div class="am-u-lg-4 am-u-md-6 am-u-sm-12">
                    <div class="dashboard-stat red">
                        <div class="visual">
                            <i class="am-icon-bar-chart-o"></i>
                        </div>
                        <div class="details">
                            <div class="number"> 
	                            <c:if test="${fns:getUser().area.type eq 2}">
	                            	全省进度
	                            </c:if>
	                            <c:if test="${fns:getUser().area.type eq 3}">
	                            	全市进度
	                            </c:if>
	                            <c:if test="${fns:getUser().area.type eq 4}">
	                            	全县进度
	                            </c:if>
                            </div> 
                        </div>
                    </div>
                </div></a>
            	
            	<c:if test="${fns:getUser().area.type lt 4}">
            	<a class="more" href="${ctx }/weixin/selfAndSub">
                <div class="am-u-lg-4 am-u-md-6 am-u-sm-12">
                    <div class="dashboard-stat blue">
                        <div class="visual">
                            <i class="am-icon-comments-o"></i>
                        </div>
                        <div class="details">
                            <center>
                            	<div class="number">
		                            <c:if test="${fns:getUser().area.type eq 2}">
		                            	各市进度
		                            </c:if>
		                            <c:if test="${fns:getUser().area.type eq 3}">
		                            	各县进度
		                            </c:if>
                            	</div>
                            </center>
                        </div>
                    </div>
                </div>
                </a>
                </c:if>
                
                <a class="more" href="${ctx }/weixin/dateInput">
                <div class="am-u-lg-4 am-u-md-6 am-u-sm-12">
                    <div class="dashboard-stat green">
                        <div class="visual">
                            <i class="am-icon-apple"></i>
                        </div>
                        <div class="details">
                            <div class="number"> 数据录入及查看 </div> 
                        </div>
                    </div>
                </div>
                </a>

         </div>
     </div>
     </div> 

    <script src="${ctxStatic}/sdlyfp/js/jquery.min.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/amazeui.min.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/iscroll.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/app.js"></script>
	<script>
	$(function(){
		// $(".tpl-left-nav-menu").find("li a").eq(0).addClass("active");
		
	var menuId = '${menuId }';
	if(menuId)
	{
		$(".tpl-left-nav-menu").find("#"+menuId).addClass("active");
	}
		
	})
	
	var message = "${message}";
	if(message)
	{
		var messageType = "${messageType}";
		msg(message,3000,messageType);
	}
	
	</script>
</body>
</html>